<div class="weadmin-body">
    <form class="layui-form" data-form='{:request()->url()}'>
        <div class="layui-form-item">
            <label for="title" class="layui-form-label">
                <span class="we-red">*</span>姓名
            </label>
            <div class="layui-input-inline">
                <input type="text" id="uname" name="uname" required="" lay-verify="required"
                       value="{$vo.uname|default=''}" class="layui-input">
            </div>
            <div class="layui-form-mid layui-word-aux">
                <span class="we-red">*</span>姓名
            </div>
        </div>
        <div class="layui-form-item">
            <label for="title" class="layui-form-label">
                <span class="we-red">*</span>账号
            </label>
            <div class="layui-input-inline">
                <input type="text" id="phone" name="phone" required="" lay-verify="required"
                       value="{$vo.phone|default=''}" class="layui-input">
            </div>
            <div class="layui-form-mid layui-word-aux">
                <span class="we-red">*</span>账号
            </div>
        </div>
		<div class="layui-form-item">
            <label for="title" class="layui-form-label">
                <span class="we-red">*</span>等级
            </label>
            <div class="layui-input-inline">
                <input type="text" id="lv" name="lv" required="" lay-verify="required"
                       value="{$vo.lv|default=''}" class="layui-input">
            </div>
            <div class="layui-form-mid layui-word-aux">
                <span class="we-red">*</span>等级
            </div>
        </div>
		<div class="layui-form-item">
            <label for="title" class="layui-form-label">
                <span class="we-red">*</span>上级
            </label>
            <div class="layui-input-inline">
                <input type="text" id="usname" name="" required="" lay-verify=""
                       value="{$cates.usname|default=''}" class="layui-input" readonly>
            </div>
            <div class="layui-form-mid layui-word-aux">
                <span class="we-red">*</span>上级
            </div>
        </div>
        <div class="layui-form-item">
            <label for="title" class="layui-form-label">
                <span class="we-red">*</span>钻石余额
            </label>
            <div class="layui-input-inline">
                <input type="text" id="mineral" name="mineral" required="" lay-verify="required"
                       value="{$cates.mineral|default=''}" class="layui-input" >
            </div>
            <div class="layui-form-mid layui-word-aux">
                <span class="we-red">*</span>钻石余额
            </div>
        </div>
		<div class="layui-form-item">
            <label for="title" class="layui-form-label">
                <span class="we-red">*</span>矿工数量
            </label>
            <div class="layui-input-inline">
                <input type="text" id="absenteeism" name="absenteeism" required="" lay-verify="required"
                       value="{$cates.absenteeism|default=''}" class="layui-input" >
            </div>
            <div class="layui-form-mid layui-word-aux">
                <span class="we-red">*</span>矿工数量
            </div>
        </div>
		<div class="layui-form-item">
            <label for="title" class="layui-form-label">
                <span class="we-red">*</span>试用矿工数量
            </label>
            <div class="layui-input-inline">
                <input type="text" id="ontrial_absenteeism" name="ontrial_absenteeism" required="" lay-verify="required"
                       value="{$cates.ontrial_absenteeism|default=''}" class="layui-input" >
            </div>
            <div class="layui-form-mid layui-word-aux">
                <span class="we-red">*</span>试用矿工数量
            </div>
        </div>
		<div class="layui-form-item">
            <label for="title" class="layui-form-label">
                <span class="we-red">*</span>总收益
            </label>
            <div class="layui-input-inline">
                <input type="text" id="profit" name="profit" required="" lay-verify="required"
                       value="{$cates.profit|default=''}" class="layui-input" >
            </div>
            <div class="layui-form-mid layui-word-aux">
                <span class="we-red">*</span>总收益
            </div>
        </div>
        <div class="layui-form-item layui-col-xs10 layui-col-xs-offset2">
            {if isset($vo.id)}<input type="hidden" name="id" value="{$vo.id}">{/if}
            <button class="layui-btn" lay-submit="">确定</button>
        </div>
    </form>
</div>

<script>
    layui.use('form',function () {
        layui.form.render();
    })
</script>